// 添加cnzz 百度统计等使用  动态向dom里添加一个script标签
function addScript(url) {
  let newScript = document.createElement('script')
  newScript.src = url
  let s = document.getElementsByTagName('script')[0]
  s.parentNode.insertBefore(newScript, s)
}

export default addScript
